<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:replace="top::html" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<body class="fixed hold-transition skin-blue">

	<div class="wrapper">
		<div th:replace="tophtml::html"></div>
		<div th:replace="left::html"></div>
		<div class="content-wrapper">
			<section class="content-header">
				<h1>
                    <span>用户提交数据</span> 
                    <small></small>
                </h1>

			</section>
			<section class="content container-fluid">
				
				<form id="from1" class="form-inline" th:action="@{/lucene/luceneSearch}" method="get">
					<input type="hidden" name="pageNo" id="pageNo" />
         
				</form>
				<div class="box">
					<div class="box-body">
						<table class="table table-bordered">
							<tbody>
								<tr>
									<th>类型</th>
									<th>名称</th>
									<th>描述</th>
									<th>姓名</th>
									<th>机构</th>
									<th>电话</th>
									<th>邮箱</th>
									<th>添加时间</th>
									
								</tr>
								<tr th:each="demandDate : ${pageInfo.list}">
		                            <td th:text="${demandDate.demandType}">
		                            </td>
		                            <td th:text="${demandDate.demandName}"></td>
		                            <td th:text="*{#strings.length(demandDate.demandName)}> 50 ? *{#strings.substring(demandDate.demandName, 0, 50)}+'...' : *{demandDate.demandName}"></td>
		                            <td th:text="${not #strings.isEmpty(demandDate.name)} "></td>
		                            <td th:text="${demandDate.jigou}"></td>
		                            <td th:text="${demandDate.tell}"></td>
		                            <td th:text="${demandDate.email}"></td>
		                            <td th:text="${demandDate.demandDate}"></td>
		                           
		                        </tr>
							</tbody>
						</table>
					</div>
					<div th:replace="page::html" ></div>
				</div>	
			</section>
		</div>
		<div th:replace="footer::html"></div>
		<div class="control-sidebar-bg"></div> 
	</div>
	<div th:replace="bottom::html" ></div>
	<script type="text/javascript" th:inline="javascript">
        matchButt([[@{/person/demandMatchExpert}]]);
        $("a.singleMatch").one("click", function() {
        	$(this).closest("tr").find(":checkbox").prop("checked", true);
        	matching([[@{/person/demandMatchExpert}]]);
        });
    </script>
</body>
</html>